package com.chinairi.mall.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 
 * </p>
 *
 * @author Webgasd
 * @since 2020-09-11
 */
@TableName("HOME_PIC")
public class HomePic extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 表主键
     */
    @TableId("HOME_PIC_DBID")
    private String homePicDbid;

    /**
     * 图片类型，包含广告，大类
     */
    @TableField("HOME_PIC_TYPE_DBID")
    private String homePicTypeDbid;

    /**
     * 图片文件存储路径
     */
    @TableField("HOME_PIC_FILE_POSITION")
    private String homePicFilePosition;

    /**
     * 图片名称
     */
    @TableField("HOME_PIC_NAME")
    private String homePicName;

    /**
     * 图片是否启用，不启用0/启用1
     */
    @TableField("HOME_PIC_FLAG")
    private Integer homePicFlag;

    /**
     * 创建者
     */
    @TableField("HOME_PIC_CREATOR")
    private String homePicCreator;

    /**
     * 创建时间
     */
    @TableField("HOME_PIC_CREATE_TIME")
    private Date homePicCreateTime;

    public String getHomePicDbid() {
        return homePicDbid;
    }

    public void setHomePicDbid(String homePicDbid) {
        this.homePicDbid = homePicDbid;
    }
    public String getHomePicTypeDbid() {
        return homePicTypeDbid;
    }

    public void setHomePicTypeDbid(String homePicTypeDbid) {
        this.homePicTypeDbid = homePicTypeDbid;
    }
    public String getHomePicFilePosition() {
        return homePicFilePosition;
    }

    public void setHomePicFilePosition(String homePicFilePosition) {
        this.homePicFilePosition = homePicFilePosition;
    }
    public String getHomePicName() {
        return homePicName;
    }

    public void setHomePicName(String homePicName) {
        this.homePicName = homePicName;
    }
    public Integer getHomePicFlag() {
        return homePicFlag;
    }

    public void setHomePicFlag(Integer homePicFlag) {
        this.homePicFlag = homePicFlag;
    }
    public String getHomePicCreator() {
        return homePicCreator;
    }

    public void setHomePicCreator(String homePicCreator) {
        this.homePicCreator = homePicCreator;
    }
    public Date getHomePicCreateTime() {
        return homePicCreateTime;
    }

    public void setHomePicCreateTime(Date homePicCreateTime) {
        this.homePicCreateTime = homePicCreateTime;
    }

    @Override
    public String toString() {
        return "HomePic{" +
            "homePicDbid=" + homePicDbid +
            ", homePicTypeDbid=" + homePicTypeDbid +
            ", homePicFilePosition=" + homePicFilePosition +
            ", homePicName=" + homePicName +
            ", homePicFlag=" + homePicFlag +
            ", homePicCreator=" + homePicCreator +
            ", homePicCreateTime=" + homePicCreateTime +
        "}";
    }
}
